package com.party.core.model.mall;

import com.party.core.model.BaseModel;

/**
 * Created by huangwuming on 2018/3/27/027.
 */
public class MallGoodsDetail extends BaseModel {
    private String goodsId;
    private  String content;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;

        MallGoodsDetail that = (MallGoodsDetail) o;

        if (goodsId != null ? !goodsId.equals(that.goodsId) : that.goodsId != null) return false;
        return content != null ? content.equals(that.content) : that.content == null;
    }

    @Override
    public int hashCode() {
        int result = super.hashCode();
        result = 31 * result + (goodsId != null ? goodsId.hashCode() : 0);
        result = 31 * result + (content != null ? content.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "MallGoodsDetail{" +
                "goodsId='" + goodsId + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
